<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<meta charset="UTF-8">
<head>
<title><?php if(is_array($webname)): $i = 0; $__LIST__ = $webname;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i; echo ($v["webname"]); endforeach; endif; else: echo "" ;endif; ?>后台登陆</title>
<link href="/TP001/Public/style/style_log.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/TP001/Public/style/style.css">
<link rel="stylesheet" type="text/css" href="/TP001/Public/style/userpanel.css">
<link rel="stylesheet" type="text/css" href="/TP001/Public/style/jquery.ui.all.css">
<script language="JavaScript" type="text/javascript" >
    function checkit(sysForm){
	if (sysForm.adname.value=='Username'){
		alert("请输入用户名");
		sysForm.adname.select();
                return false;
            }	
	if (sysForm.adpsd.value=="Username"){
		alert("请输入密码");
		sysForm.adpsd.select();
		return false;
            }
       if (sysForm.code.value==""){
		alert("请输入验证码");
		sysForm.code.select();
		return false;}
	}

</script>
</head>

<body class="login" mycollectionplug="bind">
<div class="login_m">
  <div class="login_logo"><img src="/TP001/Public/style/logo.png" width="196" height="46"></div>
<form name="sysForm" action="/TP001/index.php/Admin/Login/index" method="post" onsubmit="return checkit(sysForm)">
  <div class="login_boder">
    <div class="login_padding" id="login_model">
      <h2>用户名:</h2>
      <label>
<input type="text" class="txt_input txt_input2" value="Username" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Username';}"  name="adname" />
      </label>
      <h2>密　码：</h2>
      <label>
        <input type="password" class="txt_input" value="Username" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = 'Username';}" name="adpsd">
      </label>
      <h2>验证码：</h2>
      <label>
        <input type="password" name="code" id="userpwd" class="txt_input" style="width:50%;">
        <img class="codeimg" onclick="this.src=this.src+'?'+Math.random()" src="/TP001/index.php/Admin/Login/codes" style="float:right;"/>
      </label>
      
      
     
      <div class="rem_sub">
        <label>
          <input type="submit" class="sub_button" name="button" id="button" value="SIGN-IN" style="opacity: 0.7;">
        </label>
      </div>
    </div>
    <!--login_padding  Sign up end--> 
  </div>
 </form>
  <!--login_boder end--> 
</div>
<!--login_m end--> 
<br>
<br>
<p align="center">
<?php if(is_array($webname)): $i = 0; $__LIST__ = $webname;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>Copyright © <?php echo ($v["footer_info"]); ?>　<a href="www.phper.bid"><?php echo ($v["webname"]); ?></a>　<?php endforeach; endif; else: echo "" ;endif; ?>  
All rights reserved.
</p>
</body>
</html>